/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package server.process;

import server.entity.RegisteredUser;

/**
 *
 * @author Hoang
 */
public class UserUploadImageReport {

    private RegisteredUser registeredUser;
    private String fromDate;
    private String toDate;
    int quantity;

    public UserUploadImageReport() {
        this.quantity=0;
    }

    public String getFromDate() {
        return fromDate;
    }

    public void setFromDate(String fromDate) {
        this.fromDate = fromDate;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public RegisteredUser getRegisteredUser() {
        return registeredUser;
    }

    public void setRegisteredUser(RegisteredUser registeredUser) {
        this.registeredUser = registeredUser;
    }

    public String getToDate() {
        return toDate;
    }

    public void setToDate(String toDate) {
        this.toDate = toDate;
    }

    public UserUploadImageReport(RegisteredUser registeredUser, String fromDate, String toDate, int quantity) {
        this.registeredUser = registeredUser;
        this.fromDate = fromDate;
        this.toDate = toDate;
        this.quantity = quantity;
    }

    public void count() {
        this.quantity++;
    }
}
